package com.mes.cloud.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 文件信息
 * @author syn
 * @date 2019-11-22
 */
@ApiModel(value = "BaseAttachRequest", description = "文件信息请求参数")
@Data
public class BaseAttachRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    
    //客户ID
    @ApiModelProperty(value = "客户ID", dataType = "Long")
    private Long accId;
    
    //附件类型
    @ApiModelProperty(value = "附件类型", dataType = "String")
    private String attType;
    
    //附件
    @ApiModelProperty(value = "附件", dataType = "String")
    private String attach;
    
    //创建人
    @ApiModelProperty(value = "创建人", dataType = "Long")
    private Long crtby;
    
    //创建日期
    @ApiModelProperty(value = "创建日期", dataType = "Date")
    private Date crtdate;
    
    //备注
    @ApiModelProperty(value = "备注", dataType = "String")
    private String desc;
    
    //编号
    @ApiModelProperty(value = "编号", dataType = "Long")
    private Long id;
    
    //附件名称
    @ApiModelProperty(value = "附件名称", dataType = "String")
    private String name;
    
    //商机ID
    @ApiModelProperty(value = "商机ID", dataType = "Long")
    private Long opptId;
    
    //父ID
    @ApiModelProperty(value = "父ID", dataType = "Long")
    private Long pid;
    
    //状态：0=普通，1=禁用
    @ApiModelProperty(value = "状态：0=普通，1=禁用", dataType = "Long")
    private Long status;
    
    //类别，如客户，商机等
    @ApiModelProperty(value = "类别，如客户，商机等", dataType = "String")
    private String type;
    
    //修改人
    @ApiModelProperty(value = "修改人", dataType = "Long")
    private Long updby;
    
    //修改日期
    @ApiModelProperty(value = "修改日期", dataType = "Date")
    private Date upddate;
    
    @ApiModelProperty(value = "页码", dataType = "Integer")
    private Integer pageIndex;

    @ApiModelProperty(value = "每页条数", dataType = "Integer")
    private Integer pageSize;

    @ApiModelProperty(value = "搜索", dataType = "String")
    private String searchKey;

    @ApiModelProperty(value = "批量参数")
    private List<Long> ids;
}
